/*
 *  Copyright 2020-2025 the original author or authors.
 *  You cannot use this file unless authorized by the author.
 */

package org.ipig.commons.conf.rabbit;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * RabbitConf
 *
 * @author <a href="mailto:comchnts@163.com">chinats</a>
 * @version $$Id$$
 * @since 1.0
 */
@Data
@ToString
public class RabbitConf implements Serializable {
    private static final long serialVersionUID = 8280887705582113391L;

    /**
     * 连接conf
     */
    class ConnConf {
        private String host;
        private int port;
        private String virtualHost;
        private String username;
        private String password;
    }
    // 其它属性
    private Map<String, Object> props = new HashMap<>();
}